Skip to content

PDFGrayColor Class

Definition

Namespace: O2S.Components.PDF4NET.Graphics

Defines a device gray color.

C#
public class PDFGrayColor : PDFColor

Inheritance: Object → PDFColor → PDFGrayColor

Constructors

Name Description
PDFGrayColor() Initializes a new PDFGrayColor object.
PDFGrayColor(Double) Initializes a new PDFGrayColor object with the gray component.

Properties

Name Description
ColorSpace Gets the colorspace.
(inherited from PDFColor)
G Gets or sets the gray component.

Methods

Name Description
Copy Copies this color.
Equals Determines whether the specified Object is equal to the current Object.
GetHashCode Serves as a hash function for a particular type.
ToRgbColor Converts this color to RGB.
(inherited from PDFColor)